import type { Action } from './types'

export const FOOTER_TAB_PRESS = 'FOOTER_TAB_PRESS'

export function onTabPress(tab:string):Action {
  return {
    type: FOOTER_TAB_PRESS,
    payload: tab
  }
}
